#include<iostream>

struct CandyBar
{
    char brand[20];
    int weight;
    int calory;
};

int main()
{
    using namespace std;
    int i = 0;
    CandyBar C[3] = {
          { "brand 1",11,111},
          { "brand 2",22,222},
          { "brand 3",33,333},
                   };
    for ( i = 0; i < 3; i++)
    {
        cout << "brand:" << C[i].brand << endl;
        cout << "weight:" << C[i].weight << endl;
        cout << "calory:" << C[i].calory << endl;
    };

    return 0;
}